package com.jiefeng.dao.security;

import com.jiefeng.manager.queryRequest.MerchantRequest;
import com.jiefeng.manager.table.MerchantInfo;
import com.jiefeng.manager.table.springsecurity.WebResourceAuthority;

import java.util.List;

/**
 * Created by WuZhiqi on 2016/6/23.
 */
public interface WebResourceAuthorityMapper {

    /**
     * 新增web资源权限定义
     *
     * @param webResourceAuthority
     */
    int insert(WebResourceAuthority webResourceAuthority);

    /**
     * 删除web资源权限定义
     */
    int delete(WebResourceAuthority webResourceAuthority);

    /**
     * 修改web资源权限定义
     *
     * @param webResourceAuthority
     */
    int update(WebResourceAuthority webResourceAuthority);

    /**
     * 查询web资源权限定义
     */
    public List<WebResourceAuthority> query(WebResourceAuthority webResourceAuthority);

}
